import {
	defineConfig
} from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
export default defineConfig({
	plugins: [
		uni(),
	],
	server: {
		proxy: {
			'/run': {
				// target: 'http://localhost:1949',
				target: 'https://paole.hebeixiaoyu.cn',
				changeOrigin: true,
				rewrite: (path) => path.replace(/^\/run/, '')
			}

		}
	}
})